Add machinery for Nautilus to set up the trash state
authorFederico Mena Quintero <federico@gnome.org>
Tue, 11 Sep 2012 20:44:29 +0000 (15:44 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Tue, 11 Sep 2012 20:44:29 +0000 (15:44 -0500)
commite3d12e82956fba23b05f9e378928a48725fda0b2
tree60ef1834657f1074ff08bee2ba28188b81cfff3f
parent6868e0e239b1d520c1d297cd41e90237d8600fba
Add machinery for Nautilus to set up the trash state

We add a method to say whether the trash is full/empty (to use the appropriate icon),
and a signal that the sidebar can use to request that the trash be emptied when
the user selects 'Empty trash' from the context menu.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkplacessidebar.c
gtk/gtkplacessidebar.h